<p id="notice"><%= notice %></p>

<p>
  <b>Numero</b>
  <%= @purchase.id %>
</p>

<p>
  <b>Forma de pagamento:</b>
  <%= @purchase.payment_method.name %>
</p>

<p>
  <b>Endereco de entrega:</b>
  <%= @purchase.delivery_address.street %><br/>
  <%= @purchase.delivery_address.number %><br/>
  <%= @purchase.delivery_address.complement %><br/>
  <%= @purchase.delivery_address.district %><br/>
  <%= @purchase.delivery_address.city %><br/>
  <%= @purchase.delivery_address.state %><br/>
</p>

<p>
  <b>Status:</b>
  <%= @purchase.status.name %>
</p>


<%= link_to 'Voltar', purchases_path %>
